package news.yp.newsproject.bean;

/**
 * 详细信息请求返回格式
 */
public class ResponseDetailData {

    /**
     * messge : success
     * code : 0
     * data : {"content":"Sauti\n\nJe, wanawake wenye umri zaidi ya miaka 50 huweza kuolewa?\n\nMuandishi wa vitabu wa Ufaransa Yann Moix amekashifiwa mitandaoni kwa kusema kwamba hawezi kumpenda mwanamke mwenye umri wa miaka 50 au zaidi licha ya kwamba yeye mwenye ana miaka","imgcon":"https://static.bbc.co.uk/news/1.270.03189/apple-touch-icon-57x57-precomposed.png","_id":"5c3efab59dc6d6580a9a1a2b","title":"BBC News Swahili"}
     */

    private String messge;
    private int code;
    private DataBean data;

    public String getMessge() {
        return messge;
    }

    public void setMessge(String messge) {
        this.messge = messge;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * content : Sauti

         Je, wanawake wenye umri zaidi ya miaka 50 huweza kuolewa?

         Muandishi wa vitabu wa Ufaransa Yann Moix amekashifiwa mitandaoni kwa kusema kwamba hawezi kumpenda mwanamke mwenye umri wa miaka 50 au zaidi licha ya kwamba yeye mwenye ana miaka
         * imgcon : https://static.bbc.co.uk/news/1.270.03189/apple-touch-icon-57x57-precomposed.png
         * _id : 5c3efab59dc6d6580a9a1a2b
         * title : BBC News Swahili
         */

        private String content;
        private String imgcon;
        private String _id;
        private String title;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImgcon() {
            return imgcon;
        }

        public void setImgcon(String imgcon) {
            this.imgcon = imgcon;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
